package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.entity.Student;
import com.example.springboot.entity.Teacher;

public interface TeacherService extends IService<Teacher> {


    //新增学生
    void addTea(Teacher teacher);
    ///////////////////////////////
    //重写新增学生
    void updataTea(Teacher teacher);

    //学生登陆
    Teacher TesLogin(String username, String password);

    Page findList(Integer pageNum, Integer pageSize, String search);

    int updateTeacher(Teacher teacher);


}
